<template>
  <div class="open">
    <div class="btn-title">
      <title-bar :title-array="title"></title-bar>
    </div>
    <router-view/>
  </div>
</template>

<script type="text/ecmascript-6">
  import titleBar from '../../common/titleBar/titleBar'

  export default {
    data() {
      return {
        title: [
          {
            name: '已开新服',
            parent: 'open',
            router: 'opening'
          },
          {
            name: '开服预告',
            parent: 'open',
            router: 'trailer'
          }
        ]
      }
    },
    components: {
      titleBar
    }
  }
</script>

<style lang="stylus" rel="stylesheet/stylus">
  @import "../../../assets/stylus/mixin.styl"
  .open
    position relative
    .btn-title
      padding 24px 32px 0 32px

</style>
